package com.qf.controller;

import com.qf.service.UserBService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/userB")
public class UserBController {
    @Autowired
    private UserBService userBService;
    @RequestMapping("/add")
    public String add(){
        String add = userBService.add();
        return add;
    }
}
